#！ /bin/bash

python ../count_cfg_freq.py ../parse_train.dat > cfg.count
python data_rep.py cfg.count ../parse_train.dat rep.dat
python ../count_cfg_freq.py rep.dat > cfg_rep.count